//
//  IGCommunityDetailApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/12.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGCommunityDetailApi.h"

@interface IGCommunityDetailApi()

@property (nonatomic, copy) NSString *circleId;

@end

@implementation IGCommunityDetailApi

- (id)initWithCid:(NSString *)cid lastTimeDate:(NSString *)lastTimeDate {
    self = [super init];
    if (self) {
        _circleId = cid;
        _lastTimeDate = lastTimeDate;
    }
    return self;
}

- (NSString *)requestUrl {
    return @"circle/findCircleDetailV2";
}
    
- (id)requestArgument {
    return @{
             @"circleId": _circleId,
             @"lastTimeDate": _lastTimeDate,
             @"uid": [IGUser getUid],
             @"pageNum": [NSString stringWithFormat:@"%@", @(_page)]
             };
}

@end

@implementation IGCommunityDetailModel

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}
 
@end

@implementation IGCommunityDetailResp

@end
